package com._23DesignPattern.__mapSrc;

/**
 * @Author: huangya
 * @Date: 2019/1/9
 * @Description:
 */
public class HashMapExt implements MapExt {


    /**
     * map中的
     * @param <K>
     * @param <V>
     */
    class EnterExt<K, V>{
        private final K key;

        private V value;

        public EnterExt(K key, V value) {
            this.key = key;
            this.value = value;
        }

        K getKey(){
            return key;
        }

        V getValue(){
            return value;
        }
    }

}
